﻿using System;

namespace ConsoleApplication1._23_面向对象.static_静态
{
    internal class Class1
    {
        public static void main()
        {
            b b1 = new b();
        }
    }

    internal class a
    {
        static a()
        {
            Console.WriteLine("a");
        }
    }

    internal class b : a
    {
        static b()
        {
            Console.WriteLine("b");
        }
    }
}